package com.grape.basic2022.base;

import java.io.Serializable;

/**
 * @Author pan_jin
 * @Description: $
 * @Date: 2022/8/23 10:53
 * @Version: 1.0.0
 * @Slogan: 梦想还是要有的万一实现了呢
 */
public class User implements Serializable {
    private String name;
    private Integer age;

    public User() {
    }

    public User(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public void sout(){
        System.out.printf("调用自己的类加载器");
    }
}
